<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>申湘汽车</title>
    <script src="__INDEX__/js/mui.min.js"></script>
    <link href="__INDEX__/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
    <link rel="stylesheet" href="__INDEX__/css/style.css" />
    <link rel="stylesheet" href="__INDEX__/css/yund.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
	    <h1 class="mui-title">申湘汽车</h1>
	</header>
	
	<div class="mui-content">
	    <div id="slider" class="mui-slider">
			<div class="mui-slider-group mui-slider-loop">
				<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="{$ads_list[0]['url']}">
						<img src="{$ads_list[0]['thumb']}">
						<p class="mui-slider-title">{$ads_list[0]['title']}</p>
					</a>
				</div>
				
			{volist name="ads_list" id="vo" }
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="{$vo.url}">
						<img src="{$vo.thumb}">
						<p class="mui-slider-title">{$vo.title}</p>
					</a>
				</div>
	    	{/volist}
				<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="{$ads_list[count($ads_list)-1]['url']}">
						<img src="{$ads_list[count($ads_list)-1]['thumb']}">
						<p class="mui-slider-title">{$ads_list[count($ads_list)-1]['title']}</p>
					</a>
				</div>
			</div>
			<div class="mui-slider-indicator mui-text-right">
				<div class="mui-indicator mui-active"></div>
				<div class="mui-indicator"></div>
				<div class="mui-indicator"></div>
			</div>
		</div>
	    <div class="pzyxbox">
	    	<div class="pzbt"><img src="__INDEX__/images/bt.jpg"></div>
	    	<ul class="pzyx_list clearfix">
	    		{volist name="agent_list" id="vo" empty="没有数据"}
	    		<li>
	    			<a href="{:url('shop/shop',['agent_id'=>$vo.id])}">
	    				<div class="pzimg"><img src="{$vo.logo|default='__INDEX__//bg.png'}"></div>
	    				<div class="name">{$vo.name}</div>
	    				<div class="tip">精选品牌</div>
	    			</a>
	    		</li>
	    		{/volist}
	    	</ul>
	    </div>
	    <div class="adbox"><a href="#"><img src="__INDEX__/images/ad5.jpg"></a></div>
	    <div class="cnxhbox">
	    	<div class="cnbt"><img src="__INDEX__/images/bt2.jpg"></div>
	    	<ul class="sccp_list" id='item_ul'>
	    		{volist name="goods_list" id="vo" empty="没有数据"}
	    		<li>
	    			<a href="{:url('shop/show',['goods_id'=>$vo.goods_id])}">
	    				<div class="sccp_img"><img src="{$vo.logo|default='__INDEX__/bg.png'}"></div>
	    				<div class="sccp_infobox">
	    					<p class="cpname">{$vo.goods_name}</p>
	    					<div class="pribox">
	    						<div class="left">
	    							<span class="pri">¥<em>{$vo.cost_price}</em></span>
	    							<span class="yj">{$vo.sale_price}</span>
	    						</div>
	    						<div class="right"><span class="iconfont icon-gouwuche"></span></div>
	    					</div>
	    				</div>
	    			</a>
	    		</li>
	    		{/volist}
	    	</ul>
	    </div>
	</div>
	{include file="public/bottom" /}
</body>
</html>
{include file="public/footer" /}